import React from 'react'

export default function PlanBaseInfo({data, showBorder}) {
    return(
        <div className='infocontet'>
            <div className='objcIfbox' style={{ borderBottom: showBorder ? '0.01rem solid #eaedf1' : null}}>
                <div className='infoleft1'>
                    <div className='botStyle'>
                        <span className='viewTitle'>项目名称：</span>
                        <span className='viewTitle'>{data.name}</span>
                    </div>
                    <div className='botStyle'>
                        <span className='viewContent'>项目描述：</span>
                        <span className='viewContent'>{data.remark}</span>
                    </div>
                </div>
                <div className='infoleft2'>
                    <div className='botStyle'>
                        <span className='viewTitle infoleft3_left'>项目周期：</span>
                        <span className='viewTitle'>{data.cycle}</span>
                    </div>
                    <div className='botStyle'>
                        <span className='viewContent infoleft3_left'>是否上传图片：</span>
                        <span className='viewContent'>
                            {data.updatePic ? <span style={{ color: '#1E66DC'}}>是</span> : <span style={{ color: '#F74319'}}>否</span>}
                        </span>
                    </div>
                </div>
                <div className='infoleft3'>
                    <div className='botStyle'>
                        <span className='viewTitle infoleft3_left'>开始时间：</span>
                        <span className='viewTitle'>{data.startTime}</span>
                    </div>
                    <div className='botStyle'>
                        <span className='viewContent infoleft3_left'>是否上传视频：</span>
                        <span className='viewContent'>{data.updateVoice ? <span style={{ color: '#1E66DC'}}>是</span> : <span style={{ color: '#F74319'}}>否</span>}</span>
                    </div>
                </div>
            </div>
        </div>
    )
}